//
//  UserLoginController.swift
//  goHomeSleep
//
//  Created by jiaxu on 16/6/23.
//  Copyright © 2016年 jiaxu. All rights reserved.
//

import UIKit

class UserLoginController :UIViewController{
    @IBOutlet weak var userName: UITextField!
    @IBOutlet weak var userPass: UITextField!
    @IBOutlet weak var userAvatar: UIImageView!
    @IBOutlet var avararUrl: String!
    
    
    override func viewDidLoad() {
        
    }
    @IBAction func LoginBtnClick(sender: AnyObject) {
        let UserM = UserModel();
        
        let res = UserM.UserLogin(userName.text!, userPass: userPass.text!)
        
    }
}
